import styled from "styled-components";
export const HeaderContainer = styled.div`
  text-align: center;
  .top-header {
    height: 50px;
    background-color: #ccc;
    display: flex;
    align-items: center;
    position: relative;
    .ant-typography {
      margin: 0 20px 0 50px;
      font-weight: 600;
    }
    .button-group {
      position: absolute;
      top: 50%;
      right: 3%;
      transform: translateY(-50%);
      &:first-child {
        margin-right: 10px;
      }
    }
  }
  .menu-nav-show {
    background-color: #186acd;
    color: #fff;
    padding-left: 15% !important;
    padding-right: 6% !important;
    background-color: #1976d2 !important;
    color: #f5f5f5 !important;
  }
  .main-header {
    background-color: #fff !important;
    display: flex;
    align-items: center;
    position: relative;
    width: 88%;
    margin: 0 auto;
    h2 {
      color: #4291be;
      margin: 0;
      margin: 0 20px;
    }
    .ant-input-search {
      width: 300px;
    }
    .App-logo {
      width: 60px;
      height: 60px;
      position: absolute;
      left: 0;
      top: 3px;
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .App-logo {
      animation: App-logo-spin infinite 1s linear;
    }
  }

  @keyframes App-logo-spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
`;
